package model

const TableNameHomeLotterySum = "home_lottery_sum"

// HomeLotterySum mapped from table <home_lottery_sum>
type HomeLotterySum struct {
	ID             int64   `gorm:"column:id;primaryKey;comment:冠亚和序号" json:"id"`                      // 冠亚和序号
	OpenIssueNum   int64   `gorm:"column:open_issue_num;not null;comment:开奖期号" json:"open_issue_num"` // 开奖期号
	ChampionSecond int32   `gorm:"column:champion_second;comment:冠亚和号码" json:"champion_second"`       // 冠亚和号码
	Amount         float64 `gorm:"column:amount;comment:累计金额" json:"amount"`                          // 累计金额
}

// TableName HomeLotterySum's table name
func (*HomeLotterySum) TableName() string {
	return TableNameHomeLotterySum
}
